package org.yelongframework.yaml.factory;

import java.util.Map;

import org.yelongframework.yaml.DefaultYamlMap;
import org.yelongframework.yaml.YamlMap;

/**
 * 默认实现
 * 
 * @since 1.0.0
 */
public class DefaultYamlMapFactory implements YamlMapFactory {

	@Override
	public YamlMap create() {
		return new DefaultYamlMap();
	}

	@Override
	public YamlMap create(Map<String, Object> map) {
		return new DefaultYamlMap(map);
	}

}
